<template>
	<view class="container">
		
		<view class="icon-54">
			<button type="default" @click="getUserProfile">hu</button>
		</view>
			
		</view>
		
	</view>
</template>

<script>
	import { getUserProfile } from '../../utils/asyncWx.js'
	export default {
	 	async created() {
			// let result = await this.$request({url:"home/swiperdata"})
			// console.log(result)
			
		},
		data() {
			return {
				href: 'https://uniapp.dcloud.io/component/README?id=uniui'
			}
		},
		methods: {
			async getUserProfile(){
				let result = await getUserProfile()
				console.log(result)
			}
		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>
